#include "UpLeftFirstTooth.h"

USING_NS_CC;

UpLeftFirstTooth::UpLeftFirstTooth(CCLayer* helloWorld){
	position = UP_LEFT_ONE;
	toothSprite = CCSprite::create("yy_287_625.png");
	toothSprite->setPosition(ccp(287, 625));
    toothSprite->setZOrder(4);
	helloWorld->addChild(toothSprite);
}

UpLeftFirstTooth::~UpLeftFirstTooth(void){
	toothSprite->autorelease();
}

bool UpLeftFirstTooth::checkToolInWhichTooth(float x, float y){
	if(x>87 && x<102 && y > 150 && y<170){
		return true;
	}else{
		return false;
	}
}
